﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;



/// <summary>
/// Summary description for Redriect
/// </summary>
public class Redirect: System.Web.UI.Page
{
  
    public static string redirectForComboBox(DropDownList ddl)
    {
        if (ddl.SelectedIndex == 0)
        {


            return "~/GiatriOrganization.aspx";


        }
        else if (ddl.SelectedIndex == 1)
        {

            return "~/GiatriHumanResource.aspx";

        }
        else if (ddl.SelectedIndex == 2)
        {

            return "~/GiatriTechnology.aspx";

        }
        else if (ddl.SelectedIndex == 3)
        {

            return "~/GiatriMarketing.aspx";

        }
        else if (ddl.SelectedIndex == 4)
        {

            return "~/GiatriFinacial.aspx";

        }
        else if (ddl.SelectedIndex == 5)
            return "~/GiatriK.aspx";
        return null; 
    }

}